@import url("style-header.css");
@import url("style-footer.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0e0e0f;
  color: #ffffff;
  line-height: 1.6;
  background-image: radial-gradient(
      ellipse 7000px 2700px at 50% 10%,
      rgba(255, 255, 255, 0.08) 5%,
      transparent 15%
    ),
    radial-gradient(
      ellipse at 90% 50%,
      rgba(255, 255, 255, 0.08) 2%,
      transparent 50%
    );
}

.container {
  max-width: 83.333vw;
  margin: 0 auto;
  padding: 0 24px;
}

/* Main Content */
.main {
  padding: 48px 0;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 24px;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(0.25rem, 1.5vw, 0.375rem); /* 4-6px with viewport scaling */
  background-color: #ff250f;
  z-index: -1;
  transform: translateY(clamp(-0.75rem, -3vw, -0.875rem)); /* -12px to -14px */
  border-radius: clamp(0.125rem, 0.75vw, 0.25rem); /* 2-4px */
}

.hero-description {
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
}

/* Coil Sections */
.coil-sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.coil-section {
  background-color: #ffffff1a;
  border: 1px solid #ffffff59;
  border-radius: 8px;
  padding: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.bullet {
  width: 8px;
  height: 8px;
  background-color: #ff250f;
  border-radius: 50%;
  margin-right: 12px;
}

.coil-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.coil-item {
  background-color: #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.coil-item:hover {
  transform: translateY(-2px);
}

.coil-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Design – tylko dla części głównej */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .coil-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .coil-grid {
    grid-template-columns: 1fr;
  }
}

/* Optional: Fine-tune for very large screens */
@media (min-width: 1600px) {
  .hero-title .highlight::after {
    height: 0.4375rem; /* 7px */
    transform: translateY(-1rem); /* -16px */
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-title .highlight::after {
    height: 0.3125rem; /* 5px */
    transform: translateY(-0.625rem); /* -10px */
  }
}

@media (max-width: 480px) {
  .hero-title .highlight::after {
    height: 0.25rem; /* 4px */
    transform: translateY(-0.5rem); /* -8px */
  }
}
